package dk.twu.analyzer.model;

/**
 * Created by TW on 12/14/2014.
 */
public abstract class AbstractRecord {
    private final Symbol symbol;
    private final double open;
    private final double high;
    private final double low;
    private final double close;
    private final long volume;

    public AbstractRecord(Symbol symbol, double open, double high, double low, double close, long volume) {
        this.symbol = symbol;
        this.open = open;
        this.high = high;
        this.low = low;
        this.close = close;
        this.volume = volume;
    }

    public Symbol getSymbol() {
        return symbol;
    }

    public double getOpen() {
        return open;
    }

    public double getHigh() {
        return high;
    }

    public double getLow() {
        return low;
    }

    public double getClose() {
        return close;
    }

    public long getVolume() {
        return volume;
    }
}
